第10步:现在让我们告诉玩家,如果符合获胜条件,他们将取得胜利。

  • 将文本的名称更改为 win_text
  • 将文本中的字符串更改为 "YOU WIN!"
  • 将文本放置在控制台中央 (0, 0) 的位置,并将文本的颜色更改为"green"

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)